package com.richman.utils;

public class ThreadTest {
	 
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		double d = 51901.9;
		int i = (int) (d/1000)*1000;
		System.out.println(i);
		
	}
 
}
 
class WorkThread extends Thread {
	public void run() {
		for (int i = 0; i < Byte.MAX_VALUE;) {
			System.out.println("工作线程运行" + (++i));
		}
	}
}

